package com.yjc.drygoods.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjc.common.utils.PageUtils;
import com.yjc.drygoods.ware.entity.ExchangeEntity;
import com.yjc.drygoods.ware.vo.ExMergeVo;
import com.yjc.drygoods.ware.vo.ExchangeDoneVo;
import com.yjc.drygoods.ware.vo.MergeVo;

import java.util.List;
import java.util.Map;

/**
 * 换货单
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-11-01 16:20:12
 */
public interface ExchangeService extends IService<ExchangeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceiveList(Map<String, Object> params);

    void saveMerge(ExMergeVo exMergeVo);

    void receiveExchange(List<Long> ids);

    void doneExchange(ExchangeDoneVo exchangeDoneVo);

    PageUtils getAllAssignedExchangeWithDetail(Map<String, Object> params);

    PageUtils getAllHavedExchangeWithDetail(Map<String, Object> params);
}

